[INFO] cloning repository https://github.com/b1tg/b1-keylogger
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b1tg/b1-keylogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fb1-keylogger", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fb1-keylogger'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa83680708155805238f2c7de43b22e0a038df2b
[INFO] building b1tg/b1-keylogger against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fb1-keylogger" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/b1tg/b1-keylogger on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/b1tg/b1-keylogger
[INFO] finished tweaking git repo https://github.com/b1tg/b1-keylogger
[INFO] tweaked toml for git repo https://github.com/b1tg/b1-keylogger written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/b1tg/b1-keylogger already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded single-instance v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd46d7013e05819a3d712a7a5e03e96b43179065034fec699958c1677c12914b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dd46d7013e05819a3d712a7a5e03e96b43179065034fec699958c1677c12914b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd46d7013e05819a3d712a7a5e03e96b43179065034fec699958c1677c12914b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd46d7013e05819a3d712a7a5e03e96b43179065034fec699958c1677c12914b", kill_on_drop: false }`
[INFO] [stdout] dd46d7013e05819a3d712a7a5e03e96b43179065034fec699958c1677c12914b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5123729b49815c1c20a5dd893c04aea45aeecaf48e4598fb2c371cd4e373da4d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5123729b49815c1c20a5dd893c04aea45aeecaf48e4598fb2c371cd4e373da4d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling gimli v0.24.0
[INFO] [stderr]    Compiling object v0.24.0
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.19
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling widestring v0.2.2
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling backtrace v0.3.59
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling addr2line v0.15.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling single-instance v0.1.2
[INFO] [stderr]    Compiling b1-keylogger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::shared::minwindef::{BOOL, FALSE, TRUE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::windef::{HHOOK, HHOOK__};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winuser::GetMessageW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winuser::SetWindowsHookExA;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::winuser::{CallNextHookEx, KBDLLHOOKSTRUCT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::winuser::{LPMSG, MSG};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |         use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM};
[INFO] [stdout]    |                     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |         use winapi::shared::windef::{HWND, POINT};
[INFO] [stdout]    |                     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope
[INFO] [stdout]   --> src/main.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | static mut hook_id: Option<HHOOK> = None;
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExA` in this scope
[INFO] [stdout]   --> src/main.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |         hook_id = Some(SetWindowsHookExA(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut msg = MSG {
[INFO] [stdout]    |                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |             hwnd: 0 as HWND,
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/main.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |             message: 0 as UINT,
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |             wParam: 0 as WPARAM,
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:54:26
[INFO] [stdout]    |
[INFO] [stdout] 54 |             lParam: 0 as LPARAM,
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/main.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |             time: 0 as DWORD,
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stdout]   --> src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pt: POINT { x: 0, y: 0 },
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |         while GetMessageW(&mut msg as LPMSG, std::ptr::null_mut(), 0, 0) != FALSE {}
[INFO] [stdout]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPMSG` in this scope
[INFO] [stdout]   --> src/main.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 |         while GetMessageW(&mut msg as LPMSG, std::ptr::null_mut(), 0, 0) != FALSE {}
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/main.rs:58:77
[INFO] [stdout]    |
[INFO] [stdout] 58 |         while GetMessageW(&mut msg as LPMSG, std::ptr::null_mut(), 0, 0) != FALSE {}
[INFO] [stdout]    |                                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]   --> src/main.rs:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let kbdStruct = unsafe { (*(lParam as *mut KBDLLHOOKSTRUCT)) as KBDLLHOOKSTRUCT };
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]   --> src/main.rs:65:77
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let kbdStruct = unsafe { (*(lParam as *mut KBDLLHOOKSTRUCT)) as KBDLLHOOKSTRUCT };
[INFO] [stdout]    |                                                                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope
[INFO] [stdout]   --> src/main.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let _res = unsafe { CallNextHookEx(hook_id.unwrap(), code, wParam as usize, lParam as isize) };
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `b1-keylogger`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5123729b49815c1c20a5dd893c04aea45aeecaf48e4598fb2c371cd4e373da4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5123729b49815c1c20a5dd893c04aea45aeecaf48e4598fb2c371cd4e373da4d", kill_on_drop: false }`
[INFO] [stdout] 5123729b49815c1c20a5dd893c04aea45aeecaf48e4598fb2c371cd4e373da4d
